#pragma once
#include "CInputPointEventArgs.h"
#include "CValue.h"

class CDragEventArgs :
	public CInputPointEventArgs
{

public: 
	virtual ~CDragEventArgs();
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual HRESULT InitInstance();
	virtual XUINT32 GetTypeIndex() const;
	CXString * m_pstrFilePaths;
	XUINT32 m_bAllowDataAccess;
	static HRESULT Data(struct Xcp_IDependencyObject * pObject, XUINT32 cArgs, CValue * pArgs, CValue * pResult);

protected: 
	CDragEventArgs(CCoreServices * pCore);
private: 
	HRESULT FreeData();
	HRESULT SetData(CValue * newData);
	CValue m_data;
};
